<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/pool.js"></script>
</head>
<body>
<table id="client_dataGrid"></table>

<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="absorb">吸纳</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">修改信息</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>

    <br>

    <input class="easyui-datebox" id="beginTime" name="beginTime" prompt="客户收录开始时间"> -
    <input class="easyui-datebox" id="endTime" name="endTime" prompt="客户收录结束时间">

    <input class="easyui-textbox" id="idCard" name="idCard" prompt="身份证号码">
    <input class="easyui-textbox" id="tel" name="tel" prompt="电话号码" style="width: 100px">
    <input class="easyui-textbox" id="chargeEmpName" name="chargeEmpName" prompt="负责人" style="width: 100px">
    <input class="easyui-combobox gender_combobox" id="gender" name="gender" prompt="性别" style="width: 70px"
           data-options="panelHeight:'auto',valueField:'value',textField:'label',data: [
                           {
                                label: '男',
                                value: '1'
                           },{
                                label: '女',
                                value: '0'
                           }]">
    <input class="easyui-textbox" id="clientName" name="clientName" prompt="客户名称" style="width: 100px">

    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchForm">查询</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-clear',plain:true" data-cmd="clearSearchForm">清除查询条件</a>
</div>

<div id="btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>



<div id="client_dialog">
    <form id="client_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <tr>
                <td>客户姓名:</td>
                <td><input type="text" name="clientName" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>性别:</td>
                <td><input name="gender" class="easyui-combobox"
                           data-options="panelHeight:'auto',valueField:'value',textField:'label',data: [{
                                label: '男',
                                value: '1'
                           },{
                                label: '女',
                                value: '0'
                           }]"
                ></td>
            </tr>
            <tr>
                <td>年龄:</td>
                <td><input type="text" name="age" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td><input type="text" name="tel" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td><input type="text" name="email" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>地址:</td>
                <td><input type="text" name="clientAddress" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>QQ:</td>
                <td><input type="text" name="qq" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>微信:</td>
                <td><input type="text" name="wechat" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>身份证:</td>
                <td><input type="text" name="idCard" class="easyui-textbox"></td>
            </tr>
            <tr>
                <td>职业：</td>
                <td><input name="profession.id" class="easyui-combobox"
                           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/dictionary/selectDictionaryItemBySn.do?sn=Job'"
                ></td>
            </tr>
            <tr>
                <td>客户来源：</td>
                <td><input name="clientSource.id" class="easyui-combobox"
                           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/dictionary/selectDictionaryItemBySn.do?sn=CustomerSource'"
                ></td>
            </tr>
            <tr>
                <td>收入水平：</td>
                <td><input name="salaryLevel.id" class="easyui-combobox"
                           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/dictionary/selectDictionaryItemBySn.do?sn=SalaryLevel'"
                ></td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>